<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: WebSocketController.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a>  </div>
  <div class="headertitle"><div class="title">WebSocketController.h 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="DrObject_8h_source.html">drogon/DrObject.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="HttpAppFramework_8h_source.html">drogon/HttpAppFramework.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="WebSocketConnection_8h_source.html">drogon/WebSocketConnection.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="HttpTypes_8h_source.html">drogon/HttpTypes.h</a>&gt;</code><br />
<code>#include &lt;trantor/utils/Logger.h&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
WebSocketController.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="WebSocketController_8h__incl.png" border="0" usemap="#aWebSocketController_8h" alt=""/></div>
<map name="aWebSocketController_8h" id="aWebSocketController_8h">
<area shape="rect" title=" " alt="" coords="1703,5,1871,31"/>
<area shape="rect" href="DrObject_8h.html" title=" " alt="" coords="1625,299,1765,324"/>
<area shape="poly" title=" " alt="" coords="1719,33,1623,52,1515,80,1420,114,1385,133,1363,154,1358,165,1363,176,1385,197,1407,209,1431,213,1455,212,1510,210,1540,213,1572,223,1618,251,1671,288,1668,293,1615,255,1570,228,1539,218,1510,215,1456,218,1430,218,1406,214,1382,202,1358,179,1353,165,1358,150,1382,129,1418,109,1514,74,1622,47,1718,28"/>
<area shape="rect" title=" " alt="" coords="933,445,1090,471"/>
<area shape="poly" title=" " alt="" coords="1703,23,1603,28,1480,37,1346,55,1213,81,1102,103,1012,120,972,134,934,154,896,184,856,227,841,249,833,271,830,293,832,314,840,335,852,356,888,395,924,420,962,438,960,443,921,425,884,399,848,359,835,337,827,315,825,293,828,270,837,247,852,224,892,180,931,150,970,129,1011,115,1101,98,1212,76,1345,49,1479,32,1603,22,1703,18"/>
<area shape="rect" title=" " alt="" coords="1433,445,1510,471"/>
<area shape="poly" title=" " alt="" coords="1703,29,1555,44,1379,70,1293,86,1216,106,1152,129,1108,154,1076,186,1059,217,1049,253,1039,299,1036,312,1039,323,1057,345,1076,360,1095,370,1116,375,1163,382,1220,395,1419,442,1418,447,1219,400,1162,388,1115,381,1093,375,1073,365,1053,349,1034,325,1031,312,1034,298,1044,252,1054,215,1072,182,1104,150,1150,124,1214,101,1292,81,1378,64,1554,39,1703,23"/>
<area shape="rect" title=" " alt="" coords="845,445,908,471"/>
<area shape="poly" title=" " alt="" coords="1703,23,1418,33,1238,42,1054,55,882,74,740,98,685,112,643,128,617,145,611,154,609,164,609,239,615,279,633,315,659,346,692,373,728,396,765,415,833,441,831,446,763,420,725,400,689,377,655,349,628,317,610,281,603,240,603,163,606,152,614,142,641,123,683,107,739,93,882,68,1053,50,1237,36,1418,27,1703,18"/>
<area shape="rect" title=" " alt="" coords="2318,372,2377,397"/>
<area shape="poly" title=" " alt="" coords="1872,18,2182,28,2593,50,2793,67,2967,89,3038,102,3097,117,3140,132,3167,150,3179,174,3178,186,3173,197,3152,218,3117,238,3072,257,3018,274,2889,306,2746,333,2605,355,2391,381,2390,376,2604,349,2745,328,2888,301,3016,269,3070,252,3115,234,3148,214,3168,194,3173,185,3174,175,3163,154,3138,137,3095,122,3037,107,2966,95,2792,73,2593,56,2182,33,1872,24"/>
<area shape="rect" href="HttpAppFramework_8h.html" title=" " alt="" coords="1683,79,1892,104"/>
<area shape="poly" title=" " alt="" coords="1790,31,1790,65,1785,65,1785,31"/>
<area shape="rect" href="HttpTypes_8h.html" title=" " alt="" coords="2604,372,2752,397"/>
<area shape="poly" title=" " alt="" coords="1871,18,2113,23,2433,33,2748,50,2878,62,2977,76,3043,84,3098,89,3123,96,3146,107,3169,124,3191,150,3207,179,3212,206,3208,230,3196,252,3176,272,3151,290,3085,319,3006,342,2921,359,2766,380,2766,374,2920,354,3005,337,3083,314,3148,285,3173,268,3192,249,3203,228,3207,206,3202,181,3186,154,3165,128,3144,111,3121,101,3097,95,3043,89,2976,81,2878,67,2747,55,2432,38,2113,28,1871,23"/>
<area shape="rect" title=" " alt="" coords="3431,445,3511,471"/>
<area shape="poly" title=" " alt="" coords="1872,18,2602,36,3026,53,3203,64,3337,76,3409,78,3481,72,3617,56,3673,56,3697,62,3718,71,3735,85,3747,105,3755,131,3758,163,3758,313,3751,349,3733,378,3706,402,3672,420,3635,434,3596,445,3525,456,3525,451,3595,439,3633,429,3670,416,3703,398,3729,375,3746,347,3753,312,3753,163,3750,132,3743,107,3731,89,3715,75,3695,67,3672,62,3617,61,3482,77,3409,84,3337,81,3203,69,3026,59,2601,41,1872,23"/>
<area shape="rect" href="WebSocketConnection_8h.html" title=" " alt="" coords="3175,299,3402,324"/>
<area shape="poly" title=" " alt="" coords="1871,17,2221,19,2689,27,2915,35,3108,45,3247,59,3290,67,3312,77,3329,101,3337,128,3340,157,3337,187,3322,243,3304,287,3299,285,3317,241,3332,186,3334,157,3332,129,3324,103,3308,81,3288,72,3246,64,3108,50,2915,40,2689,32,2221,24,1871,22"/>
<area shape="rect" href="exports_8h.html" title=" " alt="" coords="2399,445,2531,471"/>
<area shape="poly" title=" " alt="" coords="1757,321,2391,440,2390,445,1756,327"/>
<area shape="rect" href="DrClassMap_8h.html" title=" " alt="" coords="1575,372,1736,397"/>
<area shape="poly" title=" " alt="" coords="1691,326,1671,361,1666,359,1686,323"/>
<area shape="rect" title=" " alt="" coords="1316,445,1408,471"/>
<area shape="poly" title=" " alt="" coords="1626,326,1548,344,1507,357,1469,374,1422,405,1385,437,1381,433,1419,400,1466,370,1506,352,1547,339,1625,320"/>
<area shape="poly" title=" " alt="" coords="1766,319,1785,321,2304,376,2304,382,1784,327,1765,324"/>
<area shape="poly" title=" " alt="" coords="1736,390,2385,447,2385,452,1736,396"/>
<area shape="poly" title=" " alt="" coords="1575,397,1104,448,1104,442,1574,392"/>
<area shape="rect" title=" " alt="" coords="1205,445,1292,471"/>
<area shape="poly" title=" " alt="" coords="1584,400,1306,448,1305,442,1583,395"/>
<area shape="poly" title=" " alt="" coords="1627,400,1515,443,1513,438,1625,395"/>
<area shape="rect" title=" " alt="" coords="757,445,821,471"/>
<area shape="poly" title=" " alt="" coords="1574,390,1436,394,1254,403,1047,421,834,448,834,443,1046,415,1253,398,1436,388,1574,384"/>
<area shape="rect" title=" " alt="" coords="1965,445,2029,471"/>
<area shape="poly" title=" " alt="" coords="1717,395,1952,443,1952,443,1951,448,1951,448,1716,400"/>
<area shape="rect" title=" " alt="" coords="1816,445,1940,471"/>
<area shape="poly" title=" " alt="" coords="1692,395,1830,439,1828,444,1690,400"/>
<area shape="poly" title=" " alt="" coords="1574,391,1290,406,1108,423,922,448,921,443,1108,418,1289,401,1574,385"/>
<area shape="poly" title=" " alt="" coords="1609,400,1422,445,1420,440,1608,395"/>
<area shape="rect" title=" " alt="" coords="1727,445,1792,471"/>
<area shape="poly" title=" " alt="" coords="1674,395,1732,435,1729,439,1671,400"/>
<area shape="rect" title=" " alt="" coords="1534,445,1611,471"/>
<area shape="poly" title=" " alt="" coords="1644,399,1598,438,1595,434,1640,395"/>
<area shape="rect" title=" " alt="" coords="1635,445,1702,471"/>
<area shape="poly" title=" " alt="" coords="1660,397,1667,431,1661,432,1655,398"/>
<area shape="poly" title=" " alt="" coords="1683,95,1593,99,1501,109,1422,126,1393,139,1373,154,1369,165,1374,176,1399,199,1426,211,1454,213,1483,211,1546,205,1581,209,1617,223,1655,253,1682,286,1678,289,1651,257,1614,228,1579,214,1546,210,1484,216,1454,219,1425,216,1397,204,1369,179,1363,165,1369,150,1390,134,1420,121,1500,103,1593,94,1682,90"/>
<area shape="poly" title=" " alt="" coords="1892,92,2586,110,2976,127,3138,137,3261,149,3316,153,3365,152,3453,148,3492,152,3530,163,3567,186,3604,224,3632,268,3640,291,3642,313,3640,335,3633,357,3621,378,3604,399,3585,407,3549,414,3433,424,3095,438,2574,448,2545,451,2544,445,2574,443,3094,433,3433,419,3548,408,3584,402,3600,395,3617,375,3629,354,3635,334,3637,313,3634,292,3627,271,3600,227,3564,190,3528,168,3491,157,3452,153,3365,157,3315,158,3260,155,3137,143,2976,132,2586,115,1892,97"/>
<area shape="poly" title=" " alt="" coords="1683,98,1255,117,1051,133,979,143,938,154,907,170,883,185,867,206,862,237,862,312,867,342,882,362,904,378,934,395,968,412,999,423,1055,432,1116,435,1192,443,1192,448,1115,440,1055,438,997,428,966,417,931,400,902,383,878,366,862,344,857,313,857,236,863,204,879,182,904,165,936,150,978,138,1051,128,1254,112,1683,93"/>
<area shape="poly" title=" " alt="" coords="1683,98,1538,104,1379,115,1246,131,1201,142,1177,154,1171,165,1171,178,1186,212,1217,251,1260,293,1360,375,1445,435,1441,440,1357,379,1256,297,1213,254,1181,214,1166,179,1166,163,1173,150,1199,137,1245,126,1379,109,1538,99,1682,93"/>
<area shape="poly" title=" " alt="" coords="1683,96,1472,100,1224,109,1005,127,929,139,903,146,886,154,860,181,844,215,837,253,837,293,842,333,850,371,869,432,864,433,845,373,837,334,832,293,832,252,839,213,855,178,883,150,901,141,927,134,1004,121,1223,104,1472,95,1682,91"/>
<area shape="poly" title=" " alt="" coords="1682,94,1563,97,1418,106,1262,124,1183,138,1106,155,1037,164,974,170,949,177,930,189,917,208,913,237,913,312,916,337,925,358,939,375,958,390,1008,412,1068,426,1133,434,1198,438,1303,443,1302,448,1197,443,1133,439,1067,431,1006,417,955,395,935,379,920,361,911,338,907,313,907,236,912,206,926,185,947,172,973,165,1036,159,1106,149,1182,132,1261,119,1418,100,1563,92,1682,89"/>
<area shape="poly" title=" " alt="" coords="1893,93,2399,112,2634,129,2710,138,2746,150,2758,166,2762,180,2759,194,2750,206,2720,229,2679,253,2651,267,2625,275,2578,281,2531,285,2505,290,2475,301,2429,328,2376,366,2373,361,2427,324,2473,296,2503,285,2530,280,2578,276,2624,270,2649,262,2677,248,2717,225,2746,202,2754,192,2756,180,2753,168,2743,154,2709,144,2633,134,2399,117,1892,98"/>
<area shape="rect" title=" " alt="" coords="2942,152,3153,177"/>
<area shape="poly" title=" " alt="" coords="1892,94,2341,115,2924,149,2929,150,2928,155,2923,155,2341,120,1892,99"/>
<area shape="rect" href="CacheMap_8h.html" title=" " alt="" coords="444,372,595,397"/>
<area shape="poly" title=" " alt="" coords="1682,97,1442,102,1149,113,887,130,794,141,740,154,705,174,671,199,612,256,566,315,535,361,531,358,562,311,608,253,668,195,702,170,738,150,793,136,887,125,1149,108,1442,97,1682,92"/>
<area shape="rect" title=" " alt="" coords="5,445,180,471"/>
<area shape="poly" title=" " alt="" coords="1682,96,1496,100,1250,110,973,127,693,155,618,157,542,150,402,132,344,132,320,137,300,146,283,160,271,179,263,204,261,237,261,313,257,336,248,358,235,377,218,394,179,422,139,442,137,438,176,418,215,390,231,374,244,355,252,335,255,312,255,237,258,203,266,176,279,156,297,142,319,132,344,127,402,127,543,145,618,152,692,149,972,122,1250,104,1496,95,1682,91"/>
<area shape="rect" href="HttpBinder_8h.html" title=" " alt="" coords="1407,225,1559,251"/>
<area shape="poly" title=" " alt="" coords="1683,102,1466,122,1375,136,1345,145,1329,154,1323,165,1322,175,1327,184,1337,193,1368,208,1407,220,1405,225,1366,213,1334,197,1323,187,1317,176,1317,163,1325,150,1343,140,1374,131,1465,116,1682,96"/>
<area shape="rect" title=" " alt="" coords="2053,445,2220,471"/>
<area shape="poly" title=" " alt="" coords="1683,101,1458,121,1364,136,1332,145,1316,154,1312,164,1316,176,1332,202,1349,218,1397,248,1461,291,1531,321,1591,339,1639,345,1688,352,1748,370,1771,383,1794,395,1839,407,1901,419,2040,441,2039,446,1900,424,1837,412,1792,400,1769,387,1746,374,1687,357,1638,350,1589,344,1529,327,1458,295,1394,253,1346,222,1327,205,1312,178,1307,164,1312,150,1330,140,1363,131,1457,116,1682,96"/>
<area shape="rect" href="HttpRequest_8h.html" title=" " alt="" coords="2095,299,2259,324"/>
<area shape="poly" title=" " alt="" coords="1892,89,2102,90,2349,98,2465,105,2564,116,2638,131,2663,140,2678,150,2702,175,2700,183,2686,187,2618,197,2480,228,2229,297,2228,292,2479,223,2617,192,2684,181,2696,179,2697,176,2675,154,2660,144,2636,136,2563,121,2464,111,2348,103,2102,96,1892,94"/>
<area shape="rect" href="HttpFilter_8h.html" title=" " alt="" coords="1384,152,1527,177"/>
<area shape="poly" title=" " alt="" coords="1735,107,1523,152,1522,146,1733,101"/>
<area shape="rect" href="drogon__callbacks_8h.html" title=" " alt="" coords="1049,299,1245,324"/>
<area shape="poly" title=" " alt="" coords="1683,97,1526,102,1351,112,1203,129,1153,141,1126,154,1117,168,1112,184,1113,220,1123,255,1136,285,1131,287,1118,257,1107,220,1107,183,1112,166,1123,150,1151,136,1202,124,1351,107,1526,97,1682,92"/>
<area shape="rect" href="HttpResponse_8h.html" title=" " alt="" coords="2492,225,2667,251"/>
<area shape="poly" title=" " alt="" coords="1893,93,2385,113,2613,129,2687,139,2722,150,2731,163,2731,175,2725,186,2714,196,2684,212,2646,224,2645,219,2681,207,2711,191,2721,183,2726,174,2725,164,2719,154,2686,144,2613,134,2385,118,1892,98"/>
<area shape="rect" href="Cookie_8h.html" title=" " alt="" coords="2486,299,2614,324"/>
<area shape="poly" title=" " alt="" coords="1892,92,2142,99,2442,110,2700,127,2784,138,2810,143,2824,150,2834,164,2840,177,2840,190,2836,203,2818,225,2788,245,2750,262,2708,276,2625,298,2623,293,2707,271,2748,257,2785,240,2814,221,2832,200,2835,190,2835,178,2830,167,2820,154,2808,148,2783,143,2699,132,2441,116,2141,104,1892,98"/>
<area shape="rect" href="MultiPart_8h.html" title=" " alt="" coords="1986,225,2127,251"/>
<area shape="poly" title=" " alt="" coords="1687,107,1640,117,1602,132,1590,141,1584,151,1584,162,1592,175,1609,185,1643,194,1743,209,1972,229,1972,235,1742,215,1642,199,1607,190,1588,179,1579,164,1578,150,1586,138,1599,128,1638,112,1686,101"/>
<area shape="rect" href="NotFound_8h.html" title=" " alt="" coords="3420,225,3565,251"/>
<area shape="poly" title=" " alt="" coords="1892,91,2119,95,2402,105,2675,122,2788,134,2873,149,2902,162,2931,175,3059,202,3188,219,3308,229,3406,233,3406,238,3308,234,3188,225,3058,207,2929,180,2900,167,2872,155,2787,140,2675,127,2401,110,2119,100,1892,96"/>
<area shape="rect" title=" " alt="" coords="1603,152,1777,177"/>
<area shape="poly" title=" " alt="" coords="1773,106,1719,146,1716,141,1770,102"/>
<area shape="rect" title=" " alt="" coords="1801,152,1971,177"/>
<area shape="poly" title=" " alt="" coords="1805,102,1860,142,1857,146,1802,106"/>
<area shape="rect" title=" " alt="" coords="1995,152,2167,177"/>
<area shape="poly" title=" " alt="" coords="1835,101,2021,146,2019,151,1834,107"/>
<area shape="rect" title=" " alt="" coords="2191,152,2387,177"/>
<area shape="poly" title=" " alt="" coords="1868,101,2195,147,2194,153,1868,107"/>
<area shape="rect" title=" " alt="" coords="2411,152,2574,177"/>
<area shape="poly" title=" " alt="" coords="1892,99,2398,149,2397,155,1892,105"/>
<area shape="rect" title=" " alt="" coords="3364,372,3565,397"/>
<area shape="poly" title=" " alt="" coords="1892,90,2122,92,2438,100,2799,118,2984,132,3165,149,3373,183,3512,208,3580,223,3590,243,3591,263,3584,284,3571,303,3535,339,3497,367,3494,362,3532,335,3567,300,3579,281,3586,263,3585,244,3576,227,3511,213,3372,188,3164,155,2983,137,2799,124,2438,106,2122,97,1892,95"/>
<area shape="rect" title=" " alt="" coords="2598,152,2665,177"/>
<area shape="poly" title=" " alt="" coords="1892,92,2028,97,2199,107,2390,124,2585,149,2584,155,2390,129,2199,113,2028,103,1892,97"/>
<area shape="poly" title=" " alt="" coords="596,394,920,441,919,446,595,400"/>
<area shape="poly" title=" " alt="" coords="563,395,744,442,742,447,562,400"/>
<area shape="poly" title=" " alt="" coords="595,384,801,388,1097,397,1444,415,1802,443,1802,448,1444,420,1097,403,801,393,595,389"/>
<area shape="poly" title=" " alt="" coords="587,395,832,443,831,448,586,400"/>
<area shape="poly" title=" " alt="" coords="451,400,175,446,174,440,450,395"/>
<area shape="rect" title=" " alt="" coords="1114,445,1181,471"/>
<area shape="poly" title=" " alt="" coords="595,388,818,406,957,421,1101,443,1100,448,957,427,817,411,595,393"/>
<area shape="rect" title=" " alt="" coords="669,445,732,471"/>
<area shape="poly" title=" " alt="" coords="549,395,659,438,657,443,547,400"/>
<area shape="rect" title=" " alt="" coords="303,445,354,471"/>
<area shape="poly" title=" " alt="" coords="490,400,368,445,366,440,488,395"/>
<area shape="rect" title=" " alt="" coords="378,445,421,471"/>
<area shape="poly" title=" " alt="" coords="501,400,432,440,430,436,499,395"/>
<area shape="rect" title=" " alt="" coords="445,445,559,471"/>
<area shape="poly" title=" " alt="" coords="519,398,511,433,505,432,514,397"/>
<area shape="rect" title=" " alt="" coords="583,445,645,471"/>
<area shape="poly" title=" " alt="" coords="536,395,589,435,586,439,533,399"/>
<area shape="rect" title=" " alt="" coords="205,445,279,471"/>
<area shape="poly" title=" " alt="" coords="475,400,293,446,292,441,474,395"/>
<area shape="poly" title=" " alt="" coords="1518,248,1649,292,1647,297,1517,253"/>
<area shape="poly" title=" " alt="" coords="1502,249,1565,292,1614,322,1720,342,1936,376,2385,443,2384,448,1935,381,1719,347,1612,326,1563,296,1499,253"/>
<area shape="poly" title=" " alt="" coords="1488,250,1498,285,1507,305,1520,322,1555,348,1594,365,1592,370,1552,352,1516,326,1502,308,1493,287,1483,251"/>
<area shape="poly" title=" " alt="" coords="1484,251,1474,313,1470,397,1472,432,1467,432,1465,397,1469,313,1478,250"/>
<area shape="poly" title=" " alt="" coords="1552,248,2305,374,2304,379,1551,253"/>
<area shape="poly" title=" " alt="" coords="1407,242,1321,246,1217,256,1104,273,993,301,915,332,841,370,730,439,727,435,839,365,913,327,992,296,1103,268,1216,251,1321,241,1407,237"/>
<area shape="poly" title=" " alt="" coords="1493,249,1524,286,1546,305,1570,322,1628,346,1677,355,1729,359,1793,369,2080,439,2079,445,1792,375,1728,364,1677,360,1627,351,1567,326,1542,309,1520,289,1489,252"/>
<area shape="poly" title=" " alt="" coords="1560,244,2081,298,2081,303,1559,250"/>
<area shape="poly" title=" " alt="" coords="2193,322,2243,357,2307,395,2362,419,2415,438,2413,443,2360,424,2305,400,2240,361,2190,326"/>
<area shape="poly" title=" " alt="" coords="2095,326,1750,373,1749,368,2094,321"/>
<area shape="poly" title=" " alt="" coords="2119,327,1524,448,1523,442,2118,321"/>
<area shape="poly" title=" " alt="" coords="2154,327,1915,442,1913,437,2152,322"/>
<area shape="poly" title=" " alt="" coords="2205,322,2308,364,2306,369,2203,326"/>
<area shape="poly" title=" " alt="" coords="2176,325,2146,433,2141,431,2171,324"/>
<area shape="poly" title=" " alt="" coords="2258,321,2591,368,2590,374,2257,327"/>
<area shape="rect" title=" " alt="" coords="3025,445,3123,471"/>
<area shape="poly" title=" " alt="" coords="2259,315,2528,335,2665,351,2764,369,2791,382,2816,395,2919,424,3012,444,3011,449,2917,430,2814,400,2788,386,2763,375,2664,356,2528,341,2259,320"/>
<area shape="rect" title=" " alt="" coords="2827,372,3011,397"/>
<area shape="poly" title=" " alt="" coords="2259,318,2809,369,2813,370,2813,375,2808,375,2259,323"/>
<area shape="poly" title=" " alt="" coords="2604,392,2358,409,2202,425,2042,448,2042,443,2202,420,2358,403,2604,386"/>
<area shape="poly" title=" " alt="" coords="2604,392,1195,449,1194,444,2604,386"/>
<area shape="poly" title=" " alt="" coords="2604,398,2234,447,2233,441,2604,393"/>
<area shape="poly" title=" " alt="" coords="2753,390,3418,449,3418,455,2752,395"/>
<area shape="poly" title=" " alt="" coords="2742,395,3012,443,3011,448,2741,400"/>
<area shape="rect" title=" " alt="" coords="2586,445,2770,471"/>
<area shape="poly" title=" " alt="" coords="2681,398,2681,432,2675,432,2675,398"/>
<area shape="poly" title=" " alt="" coords="1521,175,1606,195,1643,209,1668,223,1679,237,1687,253,1695,284,1690,286,1682,255,1674,240,1664,227,1641,213,1604,200,1519,180"/>
<area shape="poly" title=" " alt="" coords="1439,180,1416,200,1398,226,1396,238,1398,250,1411,302,1428,353,1462,432,1457,434,1423,355,1405,304,1393,251,1390,238,1393,224,1412,196,1436,176"/>
<area shape="poly" title=" " alt="" coords="1513,175,2107,293,2106,299,1512,180"/>
<area shape="poly" title=" " alt="" coords="1423,180,1302,228,1235,262,1179,294,1176,289,1233,257,1300,223,1421,175"/>
<area shape="poly" title=" " alt="" coords="1527,170,1590,175,2089,207,2479,229,2478,234,2089,212,1590,180,1527,175"/>
<area shape="poly" title=" " alt="" coords="1157,323,1208,396,1234,433,1230,436,1204,399,1153,326"/>
<area shape="poly" title=" " alt="" coords="1162,322,1206,358,1266,395,1333,418,1420,441,1419,446,1332,423,1264,400,1203,362,1158,326"/>
<area shape="poly" title=" " alt="" coords="1246,315,2590,377,2590,382,1245,320"/>
<area shape="poly" title=" " alt="" coords="2610,248,2636,262,2661,279,2675,300,2677,313,2672,325,2656,346,2637,356,2616,363,2593,374,2494,440,2491,435,2590,370,2614,358,2635,351,2652,341,2668,323,2671,312,2670,302,2657,283,2634,266,2608,253"/>
<area shape="poly" title=" " alt="" coords="2492,250,2304,271,2082,301,1884,337,1720,372,1719,366,1883,332,2082,296,2303,266,2492,245"/>
<area shape="poly" title=" " alt="" coords="2492,245,2241,262,2088,279,1936,301,1889,313,1841,327,1761,338,1698,340,1636,347,1602,358,1563,374,1522,404,1490,436,1486,433,1518,399,1561,370,1600,352,1635,342,1697,334,1761,332,1840,321,1887,308,1935,296,2088,273,2240,257,2492,240"/>
<area shape="poly" title=" " alt="" coords="2539,253,2486,272,2431,301,2395,331,2366,363,2362,360,2391,328,2429,296,2484,268,2537,248"/>
<area shape="poly" title=" " alt="" coords="2535,253,2468,273,2396,301,2329,336,2264,374,2165,440,2162,435,2261,369,2326,331,2394,296,2467,268,2533,248"/>
<area shape="poly" title=" " alt="" coords="2515,253,2255,299,2254,294,2514,248"/>
<area shape="poly" title=" " alt="" coords="2667,247,2761,266,2800,280,2824,297,2831,310,2831,322,2825,333,2815,343,2786,359,2750,371,2748,366,2784,354,2812,339,2821,330,2826,321,2826,311,2820,300,2797,284,2760,271,2666,252"/>
<area shape="poly" title=" " alt="" coords="2667,239,3058,257,3265,273,3350,284,3415,296,3509,315,3529,322,3547,333,3564,349,3580,371,3585,385,3581,399,3569,410,3551,420,3499,435,3430,445,3274,457,3136,460,3136,454,3273,451,3430,440,3497,429,3549,415,3566,406,3577,396,3580,385,3576,373,3560,352,3543,337,3526,327,3508,320,3413,301,3349,289,3264,278,3057,262,2667,244"/>
<area shape="poly" title=" " alt="" coords="2577,252,2562,287,2558,285,2572,250"/>
<area shape="poly" title=" " alt="" coords="2539,326,2519,347,2499,373,2484,404,2474,433,2469,431,2479,402,2494,371,2515,344,2535,322"/>
<area shape="poly" title=" " alt="" coords="2486,318,2021,343,1756,359,1562,375,1300,410,1087,445,1086,440,1300,405,1562,369,1756,354,2020,337,2486,313"/>
<area shape="poly" title=" " alt="" coords="2518,327,2391,371,2389,366,2517,322"/>
<area shape="poly" title=" " alt="" coords="2533,326,2471,362,2390,400,2303,427,2220,445,2219,440,2301,421,2388,395,2469,357,2531,322"/>
<area shape="poly" title=" " alt="" coords="2615,317,2860,344,2970,358,3025,370,3040,383,3052,399,3069,431,3064,433,3048,401,3036,386,3022,374,2970,364,2859,349,2614,322"/>
<area shape="poly" title=" " alt="" coords="2128,239,2262,245,2419,256,2555,272,2602,283,2628,297,2634,311,2628,325,2612,345,2593,354,2572,361,2550,374,2515,406,2486,437,2482,433,2511,402,2547,370,2570,356,2591,349,2608,341,2624,323,2628,311,2624,300,2600,288,2554,278,2419,261,2262,250,2128,244"/>
<area shape="poly" title=" " alt="" coords="2024,253,1915,288,1777,327,1737,334,1702,336,1640,335,1612,337,1583,342,1553,354,1520,374,1506,387,1496,402,1481,433,1476,431,1491,399,1502,383,1516,370,1550,349,1582,337,1611,331,1640,330,1702,331,1736,329,1776,321,1914,283,2023,248"/>
<area shape="poly" title=" " alt="" coords="2049,253,1899,436,1895,432,2045,249"/>
<area shape="poly" title=" " alt="" coords="1986,243,1758,249,1462,259,1191,277,1094,288,1038,301,991,329,951,366,917,403,894,435,889,432,913,400,947,362,988,325,1036,296,1093,283,1191,271,1462,254,1758,243,1986,238"/>
<area shape="poly" title=" " alt="" coords="2128,246,2200,264,2237,278,2271,296,2307,326,2334,359,2330,362,2303,330,2269,301,2234,283,2198,269,2127,251"/>
<area shape="poly" title=" " alt="" coords="2062,250,2085,323,2128,432,2123,434,2079,325,2057,252"/>
<area shape="poly" title=" " alt="" coords="2077,248,2146,289,2144,294,2075,253"/>
<area shape="poly" title=" " alt="" coords="2128,241,2354,259,2647,287,2789,305,2912,325,3004,346,3036,358,3056,370,3066,384,3073,399,3078,431,3072,432,3068,401,3062,386,3052,374,3034,363,3003,351,2911,330,2788,310,2646,292,2354,264,2127,247"/>
<area shape="poly" title=" " alt="" coords="3510,249,3541,277,3574,316,3587,337,3593,359,3591,380,3580,399,3562,407,3526,413,3413,424,3083,438,2574,448,2545,451,2544,445,2574,443,3082,432,3413,419,3526,408,3560,402,3576,395,3586,378,3588,359,3582,339,3570,319,3538,281,3506,253"/>
<area shape="poly" title=" " alt="" coords="3262,327,3159,365,3092,385,3024,400,2906,418,2799,431,2607,443,2436,443,2277,435,2117,426,1946,422,1752,427,1524,448,1523,443,1752,422,1946,416,2117,421,2277,430,2437,438,2606,438,2798,426,2906,413,3023,395,3091,380,3157,360,3260,322"/>
<area shape="poly" title=" " alt="" coords="3175,324,2391,383,2390,377,3175,319"/>
<area shape="poly" title=" " alt="" coords="3191,327,2766,376,2765,371,3190,321"/>
<area shape="poly" title=" " alt="" coords="3274,326,3170,400,3106,440,3103,436,3167,395,3271,322"/>
<area shape="poly" title=" " alt="" coords="3230,327,2993,372,2992,367,3229,321"/>
<area shape="poly" title=" " alt="" coords="3318,322,3424,364,3422,369,3316,326"/>
<area shape="rect" title=" " alt="" coords="3238,372,3339,397"/>
<area shape="poly" title=" " alt="" coords="3291,324,3291,358,3286,358,3286,324"/>
</map>
</div>
</div>
<p><a href="WebSocketController_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1WebSocketControllerBase.html">drogon::WebSocketControllerBase</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The abstract base class for WebSocket controllers.  <a href="classdrogon_1_1WebSocketControllerBase.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1WebSocketController.html">drogon::WebSocketController&lt; T, AutoCreation &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reflection base class template for WebSocket controllers  <a href="classdrogon_1_1WebSocketController.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:namespacedrogon" id="r_namespacedrogon"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html">drogon</a></td></tr>
<tr class="memdesc:namespacedrogon"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a461072458f4a7321e9fa010269ba9b35" id="r_a461072458f4a7321e9fa010269ba9b35"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="WebSocketController_8h.html#a461072458f4a7321e9fa010269ba9b35">WS_PATH_LIST_BEGIN</a></td></tr>
<tr class="separator:a461072458f4a7321e9fa010269ba9b35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dcc8b2dc5989f30d4f5af0f0b53b829" id="r_a5dcc8b2dc5989f30d4f5af0f0b53b829"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="WebSocketController_8h.html#a5dcc8b2dc5989f30d4f5af0f0b53b829">WS_PATH_ADD</a>(path, ...)&#160;&#160;&#160;registerSelf__(path, {__VA_ARGS__})</td></tr>
<tr class="separator:a5dcc8b2dc5989f30d4f5af0f0b53b829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10501dc513de9d5e64c3a167c7d48ac6" id="r_a10501dc513de9d5e64c3a167c7d48ac6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="WebSocketController_8h.html#a10501dc513de9d5e64c3a167c7d48ac6">WS_ADD_PATH_VIA_REGEX</a>(regExp, ...)&#160;&#160;&#160;    registerSelfRegex__(regExp, {__VA_ARGS__})</td></tr>
<tr class="separator:a10501dc513de9d5e64c3a167c7d48ac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c43f64df2ed0ce61c9f5017ecb58908" id="r_a9c43f64df2ed0ce61c9f5017ecb58908"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="WebSocketController_8h.html#a9c43f64df2ed0ce61c9f5017ecb58908">WS_PATH_LIST_END</a>&#160;&#160;&#160;}</td></tr>
<tr class="separator:a9c43f64df2ed0ce61c9f5017ecb58908"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:a7b4021d821e2410f1afa935205fa5197" id="r_a7b4021d821e2410f1afa935205fa5197"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a7b4021d821e2410f1afa935205fa5197">drogon::WebSocketControllerBasePtr</a> = std::shared_ptr&lt; <a class="el" href="classdrogon_1_1WebSocketControllerBase.html">WebSocketControllerBase</a> &gt;</td></tr>
<tr class="separator:a7b4021d821e2410f1afa935205fa5197"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a10501dc513de9d5e64c3a167c7d48ac6" name="a10501dc513de9d5e64c3a167c7d48ac6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10501dc513de9d5e64c3a167c7d48ac6">&#9670;&#160;</a></span>WS_ADD_PATH_VIA_REGEX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_ADD_PATH_VIA_REGEX</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">regExp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    registerSelfRegex__(regExp, {__VA_ARGS__})</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5dcc8b2dc5989f30d4f5af0f0b53b829" name="a5dcc8b2dc5989f30d4f5af0f0b53b829"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5dcc8b2dc5989f30d4f5af0f0b53b829">&#9670;&#160;</a></span>WS_PATH_ADD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_PATH_ADD</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">path, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;registerSelf__(path, {__VA_ARGS__})</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a461072458f4a7321e9fa010269ba9b35" name="a461072458f4a7321e9fa010269ba9b35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a461072458f4a7321e9fa010269ba9b35">&#9670;&#160;</a></span>WS_PATH_LIST_BEGIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_PATH_LIST_BEGIN</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    <span class="keyword">static</span> <span class="keywordtype">void</span> initPathRouting() \</div>
<div class="line">    {</div>
</div><!-- fragment --><p><a class="el" href="WebSocketController_8h.html">WebSocketController.h</a> An Tao</p>
<p>Copyright 2018, An Tao. All rights reserved. <a href="https://github.com/an-tao/drogon">https://github.com/an-tao/drogon</a> Use of this source code is governed by a MIT license that can be found in the License file.</p>
<p>Drogon </p>

</div>
</div>
<a id="a9c43f64df2ed0ce61c9f5017ecb58908" name="a9c43f64df2ed0ce61c9f5017ecb58908"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c43f64df2ed0ce61c9f5017ecb58908">&#9670;&#160;</a></span>WS_PATH_LIST_END</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_PATH_LIST_END&#160;&#160;&#160;}</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
